#ifndef CONSOLEGENERATOR_H
#define CONSOLEGENERATOR_H

#include <QObject>
#include <QMainWindow>

#include "iqtprojectgenerator.h"
#include "argumentparser.h"
#include "progressdialog.h"
#include "istatusupdater.h"

class ConsoleGenerator : public QObject
{
	Q_OBJECT

public:
	ConsoleGenerator(const ArgumentParser& parser);
	~ConsoleGenerator();

private slots:
	void startGenerator();
	void progressFinished(bool success);
	void progressUpdated();
    void openSisClicked();

private:
    IQtProjectGenerator *m_generator;
	GeneratorOutputView *m_logger;
	const ArgumentParser &m_parser;
	ProgressDialog *m_dialog;
    IStatusUpdater *m_updater;

};

#endif // CONSOLEGENERATOR_H
